Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Aug 20, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@hey-api/[email protected]

Minor Changes

  • #2505 97c57f6 Thanks @SebastiaanWouters! - feat(parser): add Hooks API

    Added Hooks API

    This release adds the Hooks API, giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher.

    export default {
      input: 'hey-api/backend', // sign up at app.heyapi.dev
      output: 'src/client',
      parser: {
        hooks: {
          operations: {
            isQuery: (op) => (op.method === 'post' ? true : undefined),
          },
        },
      },
    };

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch from edf84ca to 5cc7bea Compare August 26, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants